BOOLEANS: This data type is like a digital on/off switch! It helps programs make logical decisions.

Booleans are a data type that can have only two values: True or False. Boolean expressions include a relational operator (>,>=), equality operator (==), or membership operator (in) and always evaluate to a Boolean value.

  • For each of the four condition variables, replace the value None with whatever is specified in the comment.
  • Make sure each if statement evaluates to True in order to move on!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)